package com.cloud.common.elasticsearch;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class AggregationResult {
    private List<AggregationMetric> metricList = new ArrayList<>();

    public void addMetric(AggregationMetric aggregationMetric) {
        metricList.add(aggregationMetric);
    }
}
